/**  
 * All rights Reserved, Designed By www.shatayy.com
 * @Title:  ${file_name}   
 * @Package ${package_name}   
 * @Description:    ${todo}(用一句话描述该文件做什么)   
 * @author: 宁波沙塔信息技术有限公司     
 * @date:   ${date} ${time}   
 * @version V1.0 
 * @Copyright: ${year} www.tydic.com Inc. All rights reserved. 
 * 注意：本内容仅限于宁波沙塔信息技术股份有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.nbst.model.base;

import java.util.Date;

/**
 * 
 * @ClassName: DataBase
 * @Description:基础数据
 * @author King
 * @date 2018-8-27
 * 
 */
public class DataBase extends OrderBy {
	/** id */
	private String id;

	/** 键 */
	private String key_;

	/** 值 */
	private Double value_;

	/** 部门id */
	private String did;

	/** 是否有效 */
	private String sfyx;

	/** 创建时间 */
	private Date cjsj;

	/** 失效时间 */
	private Date sxsj;

	/** 创建人 */
	private String cjr;

	/** 修改人 */
	private String xgr;

	/** 代码 */
	private String code;

	/** 单位 */
	private String unit;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getKey_() {
		return key_;
	}

	public void setKey_(String key_) {
		this.key_ = key_;
	}

	public Double getValue_() {
		return value_;
	}

	public void setValue_(Double value_) {
		this.value_ = value_;
	}

	public String getDid() {
		return did;
	}

	public void setDid(String did) {
		this.did = did;
	}

	public String getSfyx() {
		return sfyx;
	}

	public void setSfyx(String sfyx) {
		this.sfyx = sfyx;
	}

	public Date getCjsj() {
		return cjsj;
	}

	public void setCjsj(Date cjsj) {
		this.cjsj = cjsj;
	}

	public Date getSxsj() {
		return sxsj;
	}

	public void setSxsj(Date sxsj) {
		this.sxsj = sxsj;
	}

	public String getCjr() {
		return cjr;
	}

	public void setCjr(String cjr) {
		this.cjr = cjr;
	}

	public String getXgr() {
		return xgr;
	}

	public void setXgr(String xgr) {
		this.xgr = xgr;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	@Override
	public String toString() {
		return "Bases [id=" + id + ", key_=" + key_ + ", value_=" + value_ + ", did=" + did + ", sfyx=" + sfyx
				+ ", cjsj=" + cjsj + ", sxsj=" + sxsj + ", cjr=" + cjr + ", xgr=" + xgr + ", code=" + code + ", unit="
				+ unit + "]";
	}

}